<%@ include file="/WEB-INF/views/utils/includes.jsp"%>
<gf:layout>
    <gf:form>
    	<tu:label text="label.domain.name">${domain}</tu:label>

    	<tu:label text="label.account.company.name" hide="${domain.account == null}">
    		<gf:link 
    			url="/company/${domain.account.company.id}" 
    			adminUrl="/admin/company/${domain}/${domain.account.company.id}">${domain.account.company.name}</gf:link>
    	</tu:label>
    	
    	<tu:list items="${domain.users}">
    		<tu:list-item columnName="label.user.fullName">
    			${item.fullName}
    		</tu:list-item>
    		
    		<tu:list-item columnName="label.user.username">
    			<tu:link-user user="${item}" text="${item.username}"/>
    		</tu:list-item>
    		
			<tu:list-item columnName="label.user.status">
				<tu:i18n value="label.user.status.enabled.${item.enabled}"/>
			</tu:list-item>
    	</tu:list>

    </gf:form>
</gf:layout>
